package com.stillalive.blogsystem.service;

import com.stillalive.blogsystem.pojo.request.UserLoginRequest;
import com.stillalive.blogsystem.pojo.request.UserRegisterRequest;
import com.stillalive.blogsystem.pojo.response.UserInfoResponse;
import com.stillalive.blogsystem.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse checkPassword(UserLoginRequest userLoginRequest);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfo(Integer blogId);
    
    Boolean registerUser(UserRegisterRequest userRegisterRequest);
}
